<div class="form-group">
    <label class="control-label" for="textinput">小区:</label>
    <select ng-model="communityId" ng-options="m.objId as m.communityName for m in communityLabelList.data"
            ng-change="getQuestionList(communityId)">
        <option value="">-- 请选择 --</option>
    </select>
</div>

<div class="tab-content">
    <div class="tab-pane active" id="tab_a">
        <table class="table table-condensed">
            <thead>
            <tr>
                <th>小区</th>
                <th>问题描述</th>
                <th>问题创建者</th>
                <th>创建时间</th>
                <th>举报人数</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="question in questionList">

                <td>{{question.community.communityName}}</td>
                <td width="600">{{question.desc}}</td>
                <td>{{question.createdBy.nickName}}</td>
                <td>{{question.dateCreated | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                <td>{{question.count}}</td>
                <td>
                    <button type="button" class="btn btn-primary btn-xs"
                            ng-click="deleteReportQuestion(question.objId)">删除
                    </button>
                </td>

            </tr>
            </tbody>
        </table>
    </div>
</div>